package com.juhuixing.canal.server.annotation;

import com.juhuixing.canal.server.config.CanalClientConfiguration;
import com.juhuixing.canal.server.properties.CanalProperties;

import org.springframework.context.annotation.Import;

import java.lang.annotation.*;

/**
 * 功能描述:开启 Canal 客户端
 * @author: 刘猛
 * @date: 2019/6/17 13:51
 **/

@Target(ElementType.TYPE)
@Retention(RetentionPolicy.RUNTIME)
@Documented
@Inherited
@Import({CanalProperties.class, CanalClientConfiguration.class})
public @interface EnableCanalClient {
}